//
//  XQBaseViewController.h
//  JoinPeso
//
//  Created by 小琦 on 2024/11/20.
//

#import <UIKit/UIKit.h>
#import "XQNavigatorBar.h"

NS_ASSUME_NONNULL_BEGIN

@interface XQBaseViewController : UIViewController

@property (nonatomic,copy) NSString *cardId;

@property (nonatomic,copy) NSString *topTitle;

@property (nonatomic,strong) XQNavigatorBar *navigationBar;

// 经度
@property (nonatomic, assign) CLLocationDegrees longitude;
// 维度
@property (nonatomic, assign) CLLocationDegrees latitude;


@property (nonatomic, assign) NSTimeInterval startInterval;

@property (nonatomic, assign) NSTimeInterval endInterval;

- (void)onBack;

- (void)applicationDidBecomeActive:(NSNotification *__nullable)notification;
- (void)applicationEnterBackground:(NSNotification *__nullable)notification;
- (void)applicationDidEnterForeground:(NSNotification *__nullable)notification;


- (void)startLocation;

- (void)stopLocation;

@end

NS_ASSUME_NONNULL_END
